{include file="public/toper"/}
<style>
    .table_td {text-align: center;}
    .table_p {height: 20px;}
    .layui-table {width: 50%;margin: 0 auto;text-align: center;}
    .tis {margin-left: 21%;}
    .color{color: #FF0000}
</style>

<div class="x-body">
    <table class="layui-table">
        <p class="tis">基本信息</p>
        <tr>
            <td>昵称：<span class="color">{$list.uname}【{$list.phone}】</span></td>
            <td><img src="{$list.uimg}"/></td>
        </tr>
        <tr>
            <td>注册时间：{$list['time']|date="Y-m-d H:i:s",###}</td>
        </tr>
        <tr>
            <td>姓名：{$list['name']}</td>
            <td>身份证号：{$list['number']}</td>
        </tr>
    </table>

    <table class="layui-table">
        <p class="tis">身份证照片信息</p>
        <tr>
            <td><img src="{$list.img[0]}"/></td>
            <td><img src="{$list.img[1]}"/></td>
            <td><img src="{$list.img[2]}"/></td>
        </tr>
    </table>

    {if condition="$list['admin_user_id'] neq ''"}
    <p class="table_p"></p>
    <table class="layui-table">
        <p class="tis">审核信息</p>
        <tr>
            <td>审核人：{$list['admin_user_id']}</td>
            <td>审核时间：{$list['audit_time']|date="Y-m-d H:i:s",###}</td>
        </tr>
        <tr>
            <td>审核结果：{if condition="$list['state'] eq 1"/}审核通过{elseif  condition="$list['state'] eq 2"/}审核失败{/if}</td>
            {if  condition="$list['state'] eq 2"/}
            <td>失败原因：{$list['remarks']}</td>
            {/if}
        </tr>
    </table>
    {/if}

    {if condition="$list['state'] eq 0"}
    <p class="table_p"></p>
    <p class="tis">审核</p>
    <form action="" method="post" class="layui-form" id="forms">
        <input type="hidden" name="id" value="{$list['id']}" class="layui-input">
        <div class="layui-form-item" style="width: 50%;margin: 0 auto;">
            <input type="radio" name="state" value="1" title="审核通过">
            <input type="radio" name="state" value="2" title="审核失败" checked>
        </div>
        <div class="layui-form-item" style="width: 50%;margin: 0 auto;">
            <input type="text" value="" name="remarks" autocomplete="off"  class="layui-input">
        </div>
        <div class="layui-form-item" style="width: 50%;margin: 0 auto;">
            <button  class="layui-btn" lay-filter="formSubmit" lay-submit="">提交</button>
        </div>
    </form>
    {/if}
</div>
{include file="public/footer"/}
